package com.zx.cloud.config;

import javax.servlet.http.HttpServletRequest;

import com.netflix.hystrix.strategy.concurrency.HystrixRequestVariableDefault;

public class HttpContextHystrixRequestVariable {
 
    private static final HystrixRequestVariableDefault<HttpServletRequest> securityContextVariable = new HystrixRequestVariableDefault<HttpServletRequest>();
 
    private HttpContextHystrixRequestVariable() {}
 
    public static HystrixRequestVariableDefault<HttpServletRequest> getInstance() {
        return securityContextVariable;
    }
 
}